//
//  ViewControllerEdge.swift
//  wisdomstudy
//
//  Created by ggx on 2017/8/17.
//  Copyright © 2017年 高广校. All rights reserved.
//  导航栏白色。相当于没有导航栏，没有偏移

import UIKit
import RxSwift
//import RxCocoa
class ViewControllerEdge: UIViewController {
    override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)
//        self.navigationController?.navigationBar.navBarBgAlpha(backgroundColor: .white, navBarBgAlpha: 1.0)
//        self.navigationController?.navigationBar.naviTitleColor(titleColor: .black)
//        self.navigationController?.navigationBar.naviBarStyle(barStyle: .`default`)
    }
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
//        self.navigationController?.navigationBar.navBarBgAlpha(backgroundColor: .white, navBarBgAlpha: 0.0)
//        self.navigationController?.navigationBar.naviTitleColor(titleColor: .white)
//        self.navigationController?.navigationBar.naviBarStyle(barStyle: .blackTranslucent)
    }
    //定义一个初始化的可变数组
    var Id : String = ""
    var dataArray : Array <Any> = []
    var dataOcArray : NSMutableArray = []
    var disposeBag = DisposeBag()
    override func viewDidLoad() {
        super.viewDidLoad()
        
        // Do any additional setup after loading the view.
        if self.navigationController != nil,(self.navigationController?.viewControllers.count)! > 1 {
//            self.navigationItem.leftBarButtonItem = UIBarButtonItem.init(image: UIImage.init(named: "zuofanhui"), style: UIBarButtonItemStyle.done, target: self, action: #selector(GoBack))
        }
    }
    
    func GoBack()  {
//        self.pop()
    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    
    /*
     // MARK: - Navigation
     
     // In a storyboard-based application, you will often want to do a little preparation before navigation
     override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
     // Get the new view controller using segue.destinationViewController.
     // Pass the selected object to the new view controller.
     }
     */
    
}
